import 'package:freezed_annotation/freezed_annotation.dart';

part 'user_profile_model.freezed.dart';

part 'user_profile_model.g.dart';

@freezed
class UserProfileInformationModel with _$UserProfileInformationModel {
  const factory UserProfileInformationModel({
    required String account,
    required String avatar,
    required String birthday,
    required String fullLocation,
    required String gender,
    required String id,
    required String nickname,
    required String profession,
    required String token,
  }) = _UserProfileInformationModel;

  factory UserProfileInformationModel.fromJson(Map<String, dynamic> json) =>
      _$UserProfileInformationModelFromJson(json);
}
